package org.rainbowinverted.charging.device.api.operation.dto;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 设备请求DTO
 * @author huaiping
 */
@Data
@NoArgsConstructor(access = AccessLevel.PRIVATE)
@AllArgsConstructor(staticName = "of")
public class DeviceReqDTO<D> implements Serializable {

    @Serial
    private static final long serialVersionUID = -4442403018302262886L;
    /**
     * 设备编号
     */
    private Serializable deviceNo;
    /**
     * 操作数据
     */
    private D opData;
}
